import React, {Suspense} from 'react';
import './App.css';
import Router from "./router";
import Loading from "./components/Loading";

function App() {
    return (
        <div className="App">
            <Suspense fallback={<Loading/>}>
                <Router/>
            </Suspense>
        </div>
    );
}

export default App;
